import request from './request.js'

export async function getScheduleList(){
    let {data} = await request.get('/schedule/index')
    return data 
}

export async function addSchedule(data){
    return await request.post('/schedule',data)
}